package org.systm.adminuser.params;


import lombok.Getter;
import lombok.Setter;
import org.global.basic.ServiceParams;
import org.systm.adminuser.entity.UserRole;

import java.io.Serializable;
import java.util.List;

@Getter
@Setter
public class UserRoleParams<ID extends Serializable> implements ServiceParams<ID, UserRole> {

    private UserRole userRole;

    private ID id;

    private AcceptUserRole accept;

    @Override
    public UserRole get() {
        return this.userRole;
    }

    @Override
    public void set(UserRole userRole) {
        this.userRole = userRole;
    }

    @Override
    public void setAll(List<UserRole> t) {

    }

    @Override
    public List<UserRole> getAll() {
        return null;
    }
}
